#include"Crectangle.h"
#include<conio.h>
int main(){
	Crectangle*rectb;
	Crectangle*rectc = new Crectangle();
	rectc->setValues(8, 9);
	rectb = rectc;
	cout << "area: " << rectb->area();
	cout << "\narea: " << rectc->area();
	delete rectb;
	_getch();
	return 0;
}